package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author mycp
 * 积分商品订单
 *
 */
@Setter
@Getter
public class OrderItem  extends BaseDomain{

    // 订单状态 1:未付款   2:已经付款,未发货. 3:已结发货,没有确认收货.  4:已结确认收货,订单结束. 5.取消订单
    public static final Integer STATE_ARREARAGE = 1;
    public static final Integer STATE_PAYMENT = 2;
    public static final Integer STATE_SEND = 3;
    public static final Integer STATE_RECEIVE = 4;
    public static final Integer STATE_CANCEL = 5;


    private String orderNumber;// 订单号

    private Long userId;// 用户

    private Long productId;// 商品
    private String productName;
    private String coverUrl;


    private Date orderTime;// 下单时间

    private Long status;// 订单状态

    private Long points;// 订单积分

    private String address;// 收货地址

    private String telephone;// 用户号码

}